<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>发布专家讲座</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 40px auto;
            max-width: 600px;
            padding: 20px;
            background-color: #f9f9f9;
            border: 1px solid #ddd;
            border-radius: 6px;
        }

        h2 {
            text-align: center;
            color: #333;
        }

        label {
            display: block;
            margin-top: 15px;
            font-weight: bold;
        }

        input[type="text"], textarea {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            font-size: 14px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }

        textarea {
            height: 150px;
            resize: vertical;
        }

        button {
            margin-top: 20px;
            padding: 10px 20px;
            background-color: #2196F3;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }

        button:hover {
            background-color: #1976D2;
        }
    </style>
</head>
<body>
<h2>发布专家讲座</h2>

<form action="${pageContext.request.contextPath}/expert/lecture/publish" method="post">
    <label for="title">讲座标题：</label>
    <input type="text" id="title" name="title" required placeholder="请输入讲座标题"/>

    <label for="content">讲座内容：</label>
    <textarea id="content" name="content" required placeholder="请输入讲座详细内容..."></textarea>

    <button type="submit">发布讲座</button>
</form>
</body>
</html>
